// 核心变量定义
// 从原variables.scss提取，保持原有变量不变

@use '@/uni.scss' as uni;
@use 'sass:color';

// 主题颜色
$primary-color: uni.$uni-primary;
$success-color: uni.$uni-success;
$warning-color: uni.$uni-warning;
$error-color: uni.$uni-error;
$info-color: uni.$uni-info;

// 文字颜色
$text-color: uni.$uni-text-color;
$text-color-secondary: uni.$uni-text-color-grey;
$text-color-placeholder: uni.$uni-text-color-placeholder;
$text-color-disabled: uni.$uni-text-color-disable;

// 背景颜色
$bg-color: uni.$uni-bg-color;
$bg-color-page: uni.$uni-bg-color-grey;
$bg-color-overlay: uni.$uni-bg-color;

// 边框颜色
$border-color: uni.$uni-border-color;
$border-color-light: color.adjust(uni.$uni-border-color, $lightness: 5%);
$border-color-lighter: color.adjust(uni.$uni-border-color, $lightness: 10%);

// 字体大小
$font-size-xs: 20rpx;
$font-size-sm: uni.$uni-font-size-sm;
$font-size-base: uni.$uni-font-size-base;
$font-size-lg: uni.$uni-font-size-lg;
$font-size-xl: 36rpx;

// 间距
$spacing-xs: 10rpx;
$spacing-sm: 20rpx;
$spacing-md: 30rpx;
$spacing-base: 30rpx;
$spacing-lg: 40rpx;
$spacing-xl: 50rpx;

// 圆角
$border-radius-sm: uni.$uni-border-radius-sm;
$border-radius-base: uni.$uni-border-radius-base;
$border-radius-lg: uni.$uni-border-radius-lg;
$border-radius-circle: uni.$uni-border-radius-circle;

// 阴影
$box-shadow: uni.$uni-shadow-base;
$box-shadow-light: uni.$uni-shadow-sm;
$box-shadow-dark: uni.$uni-shadow-lg;

// 动画
$animation-duration-fast: 0.2s;
$animation-duration-base: 0.3s;
$animation-duration-slow: 0.4s;
$animation-timing-function-base: ease-in-out;

// 地图相关
$map-control-bg: rgba(255, 255, 255, 0.9);
$map-control-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
$map-marker-color: $primary-color;
$map-track-color: #2979ff;
$map-track-width: 4px; 